<template>
  <div id="Recipe">
    <ul>
      <li>
        <router-link :to="{name:'Choiceness'}" active-class="active">精选</router-link>
      </li>
      <li>
        <router-link :to="{name:'Newest'}" active-class="active">最新</router-link>
      </li>
      <li>
        <router-link :to="{name:'Classify'}" active-class="active">分类</router-link>
      </li>
      <li>
        <router-link to="/Recipe/Menu" active-class="active">菜单</router-link>
      </li>
    </ul>
    <div>
      <div id="content">
        <router-view></router-view>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  name: 'Recipe'
}
</script>

<style lang="less" scoped>
  .active{
    //color: #ffaa00 !important;
    border-bottom: 2px solid #383830;
    font-weight: bold;
    color: #383830;
  }
  #Recipe{
    width: 1000px;
    margin: 0 auto;
    margin-top: 60px;
    ul{
      width: 100%;
      height: 42px;
      list-style: none;
      margin-bottom: 25px;
      margin-top: 11px;
      li{
        float: left;
        height: 42px;
        line-height: 42px;
        margin-right: 30px;
        a{
          display: block;
          width: 100%;
          height: 100%;
          text-decoration: none;
          color: black;
          &:hover{
            color: #ffaa00;
          }
        }
      }
    }
    #content{
      width: 100%;
    }
  }
</style>
